﻿
namespace BLPicker.OnTheFly
{
    using System;
    using System.Diagnostics.Contracts;

    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
    public class DependencyMethodAttribute : Attribute
    {

        public string Name { get; private set; }

        public DependencyMethodAttribute(string name)
        {
            Contract.Requires(!string.IsNullOrWhiteSpace(name));

            Name = name;
        }

    }
}
